package com.hopu.mapper;

import com.hopu.pojo.Dengji;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DjrzMapper {
    List<Dengji> findAllDjrz();

    int uppDjrz(Dengji dengji);

    Dengji findDjByMid(int mid);

    int addDjrz(@Param("mdate") long mdate, @Param("eid") int eid, @Param("cid") int cid,@Param("hid") int hid, @Param("mimg") String mimg, @Param("myj") Float myj,@Param("myzj") Float myzj,@Param("mflag") int mflag, @Param("mbegintime") long mbegintime);

    //条件查询
    List<Dengji> findAllDjrzByCondition(Dengji dengji);

    //到期查询
    List<Dengji> findAllMydjOnDaoqi(Dengji dengji);



}
